package io.jpress.permission.annotation;

import java.lang.annotation.*;

/**
 * @author michael yang (fuhai999@gmail.com)
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface PermissionDef {

    String title();

    String desc() default "";

    String groupId();

    int sortNo() default 0;
}
